﻿<UserControl x:Class="DIST.LR.ZHJG.Controls.Chart.ucPie2"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:vc="clr-namespace:Visifire.Charts;assembly=SLVisifire.Charts"
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <UserControl.Resources>
        <Style TargetType="vc:Title">
            <Setter Property="FontColor" Value="Black"/>
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Margin" Value="0,15,0,0"/>
        </Style>
        <Style TargetType="vc:Chart">
            <Setter Property="View3D" Value="True"/>
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="ThemeEnabled" Value="False"/>
            <Setter Property="HorizontalAlignment" Value="Stretch"/>
            <Setter Property="VerticalAlignment" Value="Stretch"/>
        </Style>       
        <Style x:Key="AxisXLabelPercentage" TargetType="vc:DataPoint">
            <Setter Property="LabelFontSize" Value="15"/>
            <Setter Property="LabelFontColor" Value="White"/>
            <Setter Property="LabelFontWeight" Value="Bold"/>
            <Setter Property="LabelStyle" Value="Inside"/>
            <Setter Property="ShadowEnabled" Value="false"/>
            <Setter Property="LightingEnabled" Value="false"/>
            <Setter Property="LabelText" Value="#AxisXLabel #Percentage%"/>
        </Style>
        <Style x:Key="AxisXLabelYValue" TargetType="vc:DataPoint">
            <Setter Property="LabelFontSize" Value="15"/>
            <Setter Property="LabelFontColor" Value="White"/>
            <Setter Property="LabelFontWeight" Value="Bold"/>
            <Setter Property="LabelStyle" Value="Inside"/>
            <Setter Property="ShadowEnabled" Value="false"/>
            <Setter Property="LightingEnabled" Value="false"/>
            <Setter Property="LabelText" Value="#AxisXLabel #YValue"/>
        </Style>
        <Style x:Key="Percentage" TargetType="vc:DataPoint">
            <Setter Property="LabelFontSize" Value="20"/>
            <Setter Property="LabelFontColor" Value="Black"/>
            <Setter Property="LabelFontWeight" Value="Bold"/>
            <Setter Property="LabelStyle" Value="Inside"/>
            <Setter Property="ShadowEnabled" Value="false"/>
            <Setter Property="LightingEnabled" Value="false"/>
            <Setter Property="LabelText" Value=" #Percentage %"/>
        </Style>
        <Style x:Key="XValue" TargetType="vc:DataPoint">
            <Setter Property="LabelFontSize" Value="20"/>
            <Setter Property="LabelFontColor" Value="Black"/>
            <Setter Property="LabelFontWeight" Value="Bold"/>
            <Setter Property="LabelStyle" Value="Inside"/>
            <Setter Property="ShadowEnabled" Value="false"/>
            <Setter Property="LightingEnabled" Value="false"/>
            <Setter Property="LabelText" Value=" #XValue"/>
        </Style>
        <Style x:Key="YValue" TargetType="vc:DataPoint">
            <Setter Property="LabelFontSize" Value="20"/>
            <Setter Property="LabelFontColor" Value="Black"/>
            <Setter Property="LabelFontWeight" Value="Bold"/>
            <Setter Property="LabelStyle" Value="Inside"/>
            <Setter Property="ShadowEnabled" Value="false"/>
            <Setter Property="LightingEnabled" Value="false"/>
            <Setter Property="LabelText" Value=" #YValue"/>
        </Style>
        <Style x:Key="XValueYValue" TargetType="vc:DataPoint">
            <Setter Property="LabelFontSize" Value="20"/>
            <Setter Property="LabelFontColor" Value="Black"/>
            <Setter Property="LabelFontWeight" Value="Bold"/>
            <Setter Property="LabelStyle" Value="Inside"/>
            <Setter Property="ShadowEnabled" Value="false"/>
            <Setter Property="LightingEnabled" Value="false"/>
            <Setter Property="LabelText" Value="#XValue #YValue"/>
        </Style>
        <Style x:Key="Null" TargetType="vc:DataPoint">
            <Setter Property="LabelText" Value=" "/>
            <Setter Property="LabelStyle" Value="Inside"/>
        </Style>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="Transparent"  HorizontalAlignment="Stretch" VerticalAlignment="Stretch" >
        
    </Grid>
</UserControl>
